package com.mycontract.suitepro.network

import com.mycontract.suitepro.data.*
import retrofit2.Call
import retrofit2.http.*

interface ApiUserService {

    /////////////////////
    /**
     * 获取合同待签列表
     */
    @POST
    fun getContractOrderList(
        @Url targetUrl: String,
        @Body reqGetContractList: ReqGetContractList
    ): Call<RevContractOrder>

    /**
     * 签约合同
     */
    @POST
    fun signContract(
        @Url targetUrl: String,
        @Body reqSignContract: ReqSignContract
    ): Call<RevSignContract>

    /**
     * 获取手机区号
     */
    @POST
    fun getAppConfig(
        @Url targetUrl: String,
        @Body reqBase: ReqBase
    ): Call<RevAppConfig>
}